﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CE7 RID: 3303
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PJGILLBDDKG : IMessage<PJGILLBDDKG>, IMessage, IEquatable<PJGILLBDDKG>, IDeepCloneable<PJGILLBDDKG>, IBufferMessage
	{
		// Token: 0x17002997 RID: 10647
		// (get) Token: 0x06009399 RID: 37785 RVA: 0x0018811C File Offset: 0x0018631C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PJGILLBDDKG> Parser
		{
			get
			{
				return PJGILLBDDKG._parser;
			}
		}

		// Token: 0x17002998 RID: 10648
		// (get) Token: 0x0600939A RID: 37786 RVA: 0x00188123 File Offset: 0x00186323
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PJGILLBDDKGReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002999 RID: 10649
		// (get) Token: 0x0600939B RID: 37787 RVA: 0x00188135 File Offset: 0x00186335
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PJGILLBDDKG.Descriptor;
			}
		}

		// Token: 0x0600939C RID: 37788 RVA: 0x0018813C File Offset: 0x0018633C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PJGILLBDDKG()
		{
		}

		// Token: 0x0600939D RID: 37789 RVA: 0x00188144 File Offset: 0x00186344
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PJGILLBDDKG(PJGILLBDDKG other) : this()
		{
			PJGILLBDDKG.BIGNBPLNELBOneofCase bignbplnelbcase = other.BIGNBPLNELBCase;
			if (bignbplnelbcase != PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDEQUIPMENT)
			{
				if (bignbplnelbcase != PJGILLBDDKG.BIGNBPLNELBOneofCase.BADPJEEMPGH)
				{
					if (bignbplnelbcase == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDRELIC)
					{
						this.FUNCUNLOCKIDRELIC = other.FUNCUNLOCKIDRELIC.Clone();
					}
				}
				else
				{
					this.BADPJEEMPGH = other.BADPJEEMPGH.Clone();
				}
			}
			else
			{
				this.FUNCUNLOCKIDEQUIPMENT = other.FUNCUNLOCKIDEQUIPMENT.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600939E RID: 37790 RVA: 0x001881B5 File Offset: 0x001863B5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PJGILLBDDKG Clone()
		{
			return new PJGILLBDDKG(this);
		}

		// Token: 0x1700299A RID: 10650
		// (get) Token: 0x0600939F RID: 37791 RVA: 0x001881BD File Offset: 0x001863BD
		// (set) Token: 0x060093A0 RID: 37792 RVA: 0x001881D5 File Offset: 0x001863D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EOGFJBFAKBK BADPJEEMPGH
		{
			get
			{
				if (this.bIGNBPLNELBCase_ != PJGILLBDDKG.BIGNBPLNELBOneofCase.BADPJEEMPGH)
				{
					return null;
				}
				return (EOGFJBFAKBK)this.bIGNBPLNELB_;
			}
			set
			{
				this.bIGNBPLNELB_ = value;
				this.bIGNBPLNELBCase_ = ((value == null) ? PJGILLBDDKG.BIGNBPLNELBOneofCase.None : PJGILLBDDKG.BIGNBPLNELBOneofCase.BADPJEEMPGH);
			}
		}

		// Token: 0x1700299B RID: 10651
		// (get) Token: 0x060093A1 RID: 37793 RVA: 0x001881EB File Offset: 0x001863EB
		// (set) Token: 0x060093A2 RID: 37794 RVA: 0x00188203 File Offset: 0x00186403
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ANPOBIAEFDJ FUNCUNLOCKIDEQUIPMENT
		{
			get
			{
				if (this.bIGNBPLNELBCase_ != PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDEQUIPMENT)
				{
					return null;
				}
				return (ANPOBIAEFDJ)this.bIGNBPLNELB_;
			}
			set
			{
				this.bIGNBPLNELB_ = value;
				this.bIGNBPLNELBCase_ = ((value == null) ? PJGILLBDDKG.BIGNBPLNELBOneofCase.None : PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDEQUIPMENT);
			}
		}

		// Token: 0x1700299C RID: 10652
		// (get) Token: 0x060093A3 RID: 37795 RVA: 0x00188219 File Offset: 0x00186419
		// (set) Token: 0x060093A4 RID: 37796 RVA: 0x00188232 File Offset: 0x00186432
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AGBKCIIINEL FUNCUNLOCKIDRELIC
		{
			get
			{
				if (this.bIGNBPLNELBCase_ != PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDRELIC)
				{
					return null;
				}
				return (AGBKCIIINEL)this.bIGNBPLNELB_;
			}
			set
			{
				this.bIGNBPLNELB_ = value;
				this.bIGNBPLNELBCase_ = ((value == null) ? PJGILLBDDKG.BIGNBPLNELBOneofCase.None : PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDRELIC);
			}
		}

		// Token: 0x1700299D RID: 10653
		// (get) Token: 0x060093A5 RID: 37797 RVA: 0x00188249 File Offset: 0x00186449
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PJGILLBDDKG.BIGNBPLNELBOneofCase BIGNBPLNELBCase
		{
			get
			{
				return this.bIGNBPLNELBCase_;
			}
		}

		// Token: 0x060093A6 RID: 37798 RVA: 0x00188251 File Offset: 0x00186451
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearBIGNBPLNELB()
		{
			this.bIGNBPLNELBCase_ = PJGILLBDDKG.BIGNBPLNELBOneofCase.None;
			this.bIGNBPLNELB_ = null;
		}

		// Token: 0x060093A7 RID: 37799 RVA: 0x00188261 File Offset: 0x00186461
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PJGILLBDDKG);
		}

		// Token: 0x060093A8 RID: 37800 RVA: 0x00188270 File Offset: 0x00186470
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PJGILLBDDKG other)
		{
			return other != null && (other == this || (object.Equals(this.BADPJEEMPGH, other.BADPJEEMPGH) && object.Equals(this.FUNCUNLOCKIDEQUIPMENT, other.FUNCUNLOCKIDEQUIPMENT) && object.Equals(this.FUNCUNLOCKIDRELIC, other.FUNCUNLOCKIDRELIC) && this.BIGNBPLNELBCase == other.BIGNBPLNELBCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060093A9 RID: 37801 RVA: 0x001882E8 File Offset: 0x001864E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.BADPJEEMPGH)
			{
				num ^= this.BADPJEEMPGH.GetHashCode();
			}
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDEQUIPMENT)
			{
				num ^= this.FUNCUNLOCKIDEQUIPMENT.GetHashCode();
			}
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDRELIC)
			{
				num ^= this.FUNCUNLOCKIDRELIC.GetHashCode();
			}
			num ^= (int)this.bIGNBPLNELBCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060093AA RID: 37802 RVA: 0x0018835D File Offset: 0x0018655D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060093AB RID: 37803 RVA: 0x00188365 File Offset: 0x00186565
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060093AC RID: 37804 RVA: 0x00188370 File Offset: 0x00186570
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDEQUIPMENT)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.FUNCUNLOCKIDEQUIPMENT);
			}
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.BADPJEEMPGH)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.BADPJEEMPGH);
			}
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDRELIC)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.FUNCUNLOCKIDRELIC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060093AD RID: 37805 RVA: 0x001883EC File Offset: 0x001865EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.BADPJEEMPGH)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BADPJEEMPGH);
			}
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDEQUIPMENT)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FUNCUNLOCKIDEQUIPMENT);
			}
			if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDRELIC)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FUNCUNLOCKIDRELIC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060093AE RID: 37806 RVA: 0x00188460 File Offset: 0x00186660
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PJGILLBDDKG other)
		{
			if (other == null)
			{
				return;
			}
			PJGILLBDDKG.BIGNBPLNELBOneofCase bignbplnelbcase = other.BIGNBPLNELBCase;
			if (bignbplnelbcase != PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDEQUIPMENT)
			{
				if (bignbplnelbcase != PJGILLBDDKG.BIGNBPLNELBOneofCase.BADPJEEMPGH)
				{
					if (bignbplnelbcase == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDRELIC)
					{
						if (this.FUNCUNLOCKIDRELIC == null)
						{
							this.FUNCUNLOCKIDRELIC = new AGBKCIIINEL();
						}
						this.FUNCUNLOCKIDRELIC.MergeFrom(other.FUNCUNLOCKIDRELIC);
					}
				}
				else
				{
					if (this.BADPJEEMPGH == null)
					{
						this.BADPJEEMPGH = new EOGFJBFAKBK();
					}
					this.BADPJEEMPGH.MergeFrom(other.BADPJEEMPGH);
				}
			}
			else
			{
				if (this.FUNCUNLOCKIDEQUIPMENT == null)
				{
					this.FUNCUNLOCKIDEQUIPMENT = new ANPOBIAEFDJ();
				}
				this.FUNCUNLOCKIDEQUIPMENT.MergeFrom(other.FUNCUNLOCKIDEQUIPMENT);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060093AF RID: 37807 RVA: 0x0018850E File Offset: 0x0018670E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060093B0 RID: 37808 RVA: 0x00188518 File Offset: 0x00186718
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 34U)
					{
						if (num != 74U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							AGBKCIIINEL agbkciiinel = new AGBKCIIINEL();
							if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDRELIC)
							{
								agbkciiinel.MergeFrom(this.FUNCUNLOCKIDRELIC);
							}
							input.ReadMessage(agbkciiinel);
							this.FUNCUNLOCKIDRELIC = agbkciiinel;
						}
					}
					else
					{
						EOGFJBFAKBK eogfjbfakbk = new EOGFJBFAKBK();
						if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.BADPJEEMPGH)
						{
							eogfjbfakbk.MergeFrom(this.BADPJEEMPGH);
						}
						input.ReadMessage(eogfjbfakbk);
						this.BADPJEEMPGH = eogfjbfakbk;
					}
				}
				else
				{
					ANPOBIAEFDJ anpobiaefdj = new ANPOBIAEFDJ();
					if (this.bIGNBPLNELBCase_ == PJGILLBDDKG.BIGNBPLNELBOneofCase.FUNCUNLOCKIDEQUIPMENT)
					{
						anpobiaefdj.MergeFrom(this.FUNCUNLOCKIDEQUIPMENT);
					}
					input.ReadMessage(anpobiaefdj);
					this.FUNCUNLOCKIDEQUIPMENT = anpobiaefdj;
				}
			}
		}

		// Token: 0x04003853 RID: 14419
		private static readonly MessageParser<PJGILLBDDKG> _parser = new MessageParser<PJGILLBDDKG>(() => new PJGILLBDDKG());

		// Token: 0x04003854 RID: 14420
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003855 RID: 14421
		public const int BADPJEEMPGHFieldNumber = 4;

		// Token: 0x04003856 RID: 14422
		public const int FUNCUNLOCKIDEQUIPMENTFieldNumber = 1;

		// Token: 0x04003857 RID: 14423
		public const int FUNCUNLOCKIDRELICFieldNumber = 9;

		// Token: 0x04003858 RID: 14424
		private object bIGNBPLNELB_;

		// Token: 0x04003859 RID: 14425
		private PJGILLBDDKG.BIGNBPLNELBOneofCase bIGNBPLNELBCase_;

		// Token: 0x02001B60 RID: 7008
		public enum BIGNBPLNELBOneofCase
		{
			// Token: 0x040066B2 RID: 26290
			None,
			// Token: 0x040066B3 RID: 26291
			BADPJEEMPGH = 4,
			// Token: 0x040066B4 RID: 26292
			FUNCUNLOCKIDEQUIPMENT = 1,
			// Token: 0x040066B5 RID: 26293
			FUNCUNLOCKIDRELIC = 9
		}
	}
}
